#include <REGX52.H>
#include "MatrixLED.h"

void main()
{
	unsigned char smile[] = {0x3C,0x42,0x91,0x85,0x85,0x91,0x42,0x3C};
	int i = 0;
	_74HC595_Init();
	// 测试
	//_74HC595_WriteByte(1,0xaa);
	// 显示一个笑脸

	while(1)
	{
		for(i = 0; i < 8; i++)
		{
			MatrixLED_ShowColumn(i,smile[i]);
		}
	}
}